package cn.taobaoke.restful.util;

/**
 * 常量列表.
 *
 * @author yangzuo
 * @since 2017-03-27
 */
public class Constants {

    // 阿里妈妈技术服务费用抽成比率
    public static final String SERVICE_FEE_RATIO = "service_fee_ratio";

    // a -> b -> c -> d
    // 一级抽成比例 (若d推广了商品, c的提成叫一级抽成)
    public static final String CLASS1_PER_OF_COMMISSION = "class1_perOfCommission";

    // 二级抽成比例 (若d推广了商品, b的提成叫二级抽成)
    public static final String CLASS2_PER_OF_COMMISSION = "class2_perOfCommission";

    // 推广分佣比例 (若d推广了, d的自己的拿去分佣比率)
    public static final String PROMOTER_PER_OF_COMMISSION = "promoter_perOfCommission";

    // 管理员pid
    public static final String ADMIN_PID = "admin_pid";

    // 图片上传文件夹
    public static final String IMAGE_ROOT = "upload-images";

    public static final String ROBOT_ROOT = "robots";

    public static final String ROBOT_ROOT_V2 = "robots-version";

    // 数据库前缀
    public static final String DATABASE_PREFIX = "tbk_";

    // 发单商品目标
    public static final String SEND_PRODUCT_TEMPLATE = "template";

    // 默认发单格式
    public static final String PRODUCT_DEFAULT_TEMPLATE = "{{标题}}\n原价：【{{原价}}】元\n优惠券:【{{优惠券}}】元\n券后价【{{券后价}}】元\n复制这条消息，打开【手机淘宝】可领券并下单购买{{淘口令}}\n优惠汇总：{{优惠链接}}";
}
